package com.test.design.pattern.decorator;

/**
 * @ClasName FriedRice
 * @Descripution TODO
 * @Author leikw
 * @Date 2021/12/16 10:07
 * @Version V1.0
 */
public class FriedRice extends FastFood {

    public FriedRice() {
        super(10, "炒饭");
    }

    public float cost() {
        return getPrice();
    }
}
